// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import about from './App.vue'

import '@/helper'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import TableMaking from 'table-making'
import 'table-making/dist/TableMaking.css'
Vue.use(TableMaking)

// import VueI18n from 'vue-i18n'
// Vue.use(VueI18n)
// const i18n = new VueI18n({
//   locale: 'zh-CN', // 定义默认语言为中文 
//   messages: { }//主工程的语言包，可以为空
// });
// //注册table-macking
// Vue.use(TableMaking, { lang: 'zh-CN', locale: null, i18n: i18n})
// //其他组件必须传入i18对象引入否则将会将上一个组件的语言包覆盖

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  components: { about },
  template: '<about/>'
})
